package com.lhgg.examol.emp.action;

import java.util.ArrayList;
import java.util.List;

import com.lhgg.examol.action.BaseAction;
import com.lhgg.examol.emp.bean.Users;
import com.lhgg.examol.emp.service.EmpService;
import com.opensymphony.xwork2.ModelDriven;

public class UserAction extends BaseAction implements ModelDriven<Users> {
	Users user = new Users();
	EmpService service;

	public String addUser() throws Exception {
		service.addUser(user);
		return null;
	}

	public String addUsers() throws Exception {
		return null;
	}

	public EmpService getService() {
		return service;
	}

	public void setService(EmpService service) {
		this.service = service;
	}

	@Override
	public Users getModel() {
		// TODO Auto-generated method stub
		return null;
	}
}
